<form action="{:sysuri()}" method="post" data-auto="true" class="layui-form layui-card" data-table-id="MenuTable">

    <div class="layui-card-body">

       


        <div class="layui-form-item">
            <label class="layui-form-label">{:lang('名称')}</label>
            <div class="layui-input-block">
                <input name="name" value='{$vo.name|default=""}' required placeholder="请输入" class="layui-input">
            </div>
        </div> 

        <div class="layui-form-item">
            <label class="layui-form-label">{:lang('每件重量')}</label>
            <div class="layui-input-block">
                <input name="bulk_weight" value='{$vo.bulk_weight|default=""}' required placeholder="请输入" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">{:lang('类型')}</label>
            <div class="layui-input-block">
                <input name="type" value='{$vo.type|default=""}' required placeholder="请输入" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">{:lang('预警阈值')}</label>
            <div class="layui-input-block">
                <input name="threshold" value='{$vo.threshold|default=""}' required  placeholder="请输入"
                    class="layui-input">
            </div>
        </div>

     
        <!-- <div class="layui-form-item">
            <label class="layui-form-label">{:lang('总重')}</label>
            <div class="layui-input-block">
                <input name="params" placeholder="请输入" value="{$vo.params|default=''}" class="layui-input">
        
            </div>
        </div> -->

    </div>

    <div class="hr-line-dashed"></div>
    {notempty name='vo.id'}<input type='hidden' value='{$vo.id}' name='id'>{/notempty}

    <div class="layui-form-item text-center">
        <button class="layui-btn" type='submit'>{:lang('保存数据')}</button>
        <button class="layui-btn layui-btn-danger" type='button' data-confirm="{:lang('确定要取消编辑吗？')}"
            data-close>{:lang('取消编辑')}</button>
    </div>
</form>

<script>
    
</script>